package com.punai.externalccb.mysqlbo;

import com.punai.common.utils.bean.BeanUtils;
import com.punai.externalccb.domain.EcoCbfeeitem;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class EcoCbfeeitemPriceBo extends EcoCbfeeitem {

    // 来源项目
    private String proName;
    private String deptInfo;
    // 地区
    private String address;

    private Integer feeAmount;

    private BigDecimal avgPrice;

    private List<EcoCbfeeitemPriceBo> children = new ArrayList<>();

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getFeeAmount() {
        return feeAmount;
    }

    public void setFeeAmount(Integer feeAmount) {
        this.feeAmount = feeAmount;
    }

    public BigDecimal getAvgPrice() {
        return avgPrice;
    }

    public void setAvgPrice(BigDecimal avgPrice) {
        this.avgPrice = avgPrice;
    }

    public List<EcoCbfeeitemPriceBo> getChildren() {
        return children;
    }

    public void setChildren(List<EcoCbfeeitemPriceBo> children) {
        this.children = children;
    }

    public String getDeptInfo() {
        return deptInfo;
    }

    public void setDeptInfo(String deptInfo) {
        this.deptInfo = deptInfo;
    }

    public EcoCbfeeitemPriceBo convert(EcoCbfeeitem in) {
        EcoCbfeeitemPriceBo out = new EcoCbfeeitemPriceBo();
        BeanUtils.copyBeanProp(out,in);
        return out;
    }



}
